package asteroids.model.programs.Expression;

/**
* 
* @version 0.3
* @author  Tandan Sunil, Van Deun Luca
*
*/
public class Multiplication extends BinaryCalculationExpression {

	public Multiplication(int line, int column, Expression e1, Expression e2) throws IllegalArgumentException{
		super(line, column, e1, e2);
	}

	@Override
	public double getValue() {
		return getFirstExpression().getValue()*getSecondExpression().getValue();
	}

}
